﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Prowess.OIS.ModelEntity;

namespace Prowess.OIS.Service
{
    [ServiceContract()]
    public interface IOISService
    {
        [OperationContract]
        String TestConnection();
#region Configuration Service
        DatabaseConfigurationModelEntity GetDatabaseConfig();
        void UpdateDatabaseConfig(DatabaseConfigurationModelEntity databaseConfig);
        bool TestDatabaseConnection(DatabaseConfigurationModelEntity databaseConfig);
        void CreateDatabase();
#endregion

    }
}
